package com.grandtech.insurance.dao;

import com.grandtech.insurance.domain.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface DbKhdkxxDAO {
    int deleteByPrimaryKey(Long id);

    int insert(DbKhdkxx record);

    int insertSelective(DbKhdkxx record);

    DbKhdkxx selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DbKhdkxx record);

    int updateByPrimaryKey(DbKhdkxx record);

    //根据客户身份证号和项目编码统计地块总面积信息
    Khdktj getKhdktjByIdcodeAndXmbm(DbKhxx param);

    List<DbKhdkxx> dksjList(DbKhdkxx params);

    DbKhdkxx dkslAndZmj (DbKhdkxx params);

    List<Map> getDksjShape(Map params);

    String getListDkbm(DbKhdkxx param);
    String getListDkbm1(DbKhtydkxx param);

    List<DbKhdkxx> getKhdkxxByIdcodeAndXmbm(DbKhxx param);

    List<Dkyz> getDkyzList(DbKhxx param);

    DbKhdkxx getDkMjAll(DbKhdkxx param);

    List<DbKhdkxx> getKhdkxxByIdcodeAndXmbmAndShape(DbKhxx param);

    List<DbKhdkxx> getKhdkxxByIdcodeAndXmbmAndShape1(DbKhxx param);

    List<DbKhdkxx> getKhdkxxByIdcodeAndXmbm1(DbKhxx param);

    DbZzjg getDbZzjg(DbZzjg param);
    List<DbZzjg> getDbZzjg1(DbZzjg param);
    List<DbZzjg> getDbZzjg22(DbZzjg param);
    Integer getDbZzjg2(DbZzjg param);
    Integer getDbZzjg3(DbZzjg param);

    Integer getDbZzjg4(DbZzjg param);
    Integer getDbZzjg5(DbZzjg param);

    int RefreshSql();

    int RefreshSql1();

    String getCDShape(Dkyz param);
    String getCenter(String geo);

    List<DbKhdkxx> getYzShape(String  params);

    String getjson(Map param);
}














